Point and Click I

Now you can track mouse clicks as well as movements!
Mouse X: Mouse Y:
Mouse down at with button
                and keyboard modifiers
Mouse up at

Discussion

Capturing and handling mouse button press and release events is very simple with the new event handlers in JavaScript 1.2. The event system distinguishes between the left and right mouse buttons (values 1 and 3, respectively), but there doesn't seem to be a way to catch both buttons down at once!

Copyright ©1998 by Charles River Media, All Rights Reserved